package com.dianning.web.action.business;

import java.util.List;
import org.apache.commons.logging.*;

import com.dianning.service.ParameterService;
import com.dianning.web.action.BaseAction;

public class Index extends BaseAction{

	private static final Log logger = LogFactory.getLog(Index.class);
	
	private ParameterService parameterService;
	
	public ParameterService getParameterService() {
		return parameterService;
	}

	public void setParameterService(ParameterService parameterService) {
		this.parameterService = parameterService;
	}
	
	private List businessDanbao;
	private List businessLvshi;
	private List businessMeiti;
	private List businessOffice;
	private List businessPenhui;
	private List businessSheji;
	private List businessTouzi;
	private List businessWangluo;
	private List businessWangzhan;
	private List businessYinshua;
	private List businessZhaoshang;
	private List businessZhuce;
	private List businessZuping;
	

	public List getBusinessDanbao() {
		return businessDanbao;
	}

	public void setBusinessDanbao(List businessDanbao) {
		this.businessDanbao = businessDanbao;
	}

	public List getBusinessLvshi() {
		return businessLvshi;
	}

	public void setBusinessLvshi(List businessLvshi) {
		this.businessLvshi = businessLvshi;
	}

	public List getBusinessMeiti() {
		return businessMeiti;
	}

	public void setBusinessMeiti(List businessMeiti) {
		this.businessMeiti = businessMeiti;
	}

	public List getBusinessOffice() {
		return businessOffice;
	}

	public void setBusinessOffice(List businessOffice) {
		this.businessOffice = businessOffice;
	}

	public List getBusinessPenhui() {
		return businessPenhui;
	}

	public void setBusinessPenhui(List businessPenhui) {
		this.businessPenhui = businessPenhui;
	}

	public List getBusinessSheji() {
		return businessSheji;
	}

	public void setBusinessSheji(List businessSheji) {
		this.businessSheji = businessSheji;
	}

	public List getBusinessTouzi() {
		return businessTouzi;
	}

	public void setBusinessTouzi(List businessTouzi) {
		this.businessTouzi = businessTouzi;
	}

	public List getBusinessWangluo() {
		return businessWangluo;
	}

	public void setBusinessWangluo(List businessWangluo) {
		this.businessWangluo = businessWangluo;
	}

	public List getBusinessWangzhan() {
		return businessWangzhan;
	}

	public void setBusinessWangzhan(List businessWangzhan) {
		this.businessWangzhan = businessWangzhan;
	}

	public List getBusinessYinshua() {
		return businessYinshua;
	}

	public void setBusinessYinshua(List businessYinshua) {
		this.businessYinshua = businessYinshua;
	}

	public List getBusinessZhaoshang() {
		return businessZhaoshang;
	}

	public void setBusinessZhaoshang(List businessZhaoshang) {
		this.businessZhaoshang = businessZhaoshang;
	}

	public List getBusinessZhuce() {
		return businessZhuce;
	}

	public void setBusinessZhuce(List businessZhuce) {
		this.businessZhuce = businessZhuce;
	}

	public List getBusinessZuping() {
		return businessZuping;
	}

	public void setBusinessZuping(List businessZuping) {
		this.businessZuping = businessZuping;
	}

	public String execute() {
		this.setBusinessDanbao(this.getParameterService().findParameters("businessDanbaoType", 2, null,"orders", 0));
		this.setBusinessLvshi(this.getParameterService().findParameters("businessLvshiType", 2, null,"orders", 0));
		this.setBusinessMeiti(this.getParameterService().findParameters("businessMeitiType", 2, null,"orders", 0));
		this.setBusinessOffice(this.getParameterService().findParameters("businessOfficeType", 2, null,"orders", 0));
		this.setBusinessPenhui(this.getParameterService().findParameters("businessPenhuiType", 2, null,"orders", 0));
		this.setBusinessSheji(this.getParameterService().findParameters("businessShejiType", 2, null,"orders", 0));
		this.setBusinessTouzi(this.getParameterService().findParameters("businessTouziType", 2, null,"orders", 0));
		this.setBusinessWangluo(this.getParameterService().findParameters("businessWangluoType", 2, null,"orders", 0));
		this.setBusinessWangzhan(this.getParameterService().findParameters("businessWangzhanType", 2, null,"orders", 0));
		this.setBusinessYinshua(this.getParameterService().findParameters("businessYinshuaType", 2, null,"orders", 0));
		this.setBusinessZhaoshang(this.getParameterService().findParameters("businessZhaoshangType", 2, null,"orders", 0));
		this.setBusinessZhuce(this.getParameterService().findParameters("businessZhuceType", 2, null,"orders", 0));
		this.setBusinessZuping(this.getParameterService().findParameters("businessZupingType", 2, null,"orders", 0));
		return SUCCESS;
	}
}
